<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of UC_RechargeAction
 *
 * @author Alen
 */
class UC_RechargeAction extends PyramidUCAction {
    //put your code here
    public function index(){
        $this->display();
    }
    public function save(){
        $biz=new SoBizRecharge();
        $msg=$biz->recharge($this->USER_NAME,request_numeric('Amount'),request_string('BankTransactionSN'),request_string('BankCardHolder'),request_string('BankName'),request_string('UserRemark'));        
	redirect($msg=='SUCCESS'?'充值申请已提交，请等待管理人员确认!':$msg,'?m=UC_AccountLog');
    }
}

?>
